# -*- coding: utf-8 -*-
import os
from google.appengine.ext.webapp import template
from google.appengine.ext import webapp
from google.appengine.api import users
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db

class MainPage(webapp.RequestHandler):
    
    def get(self):
        self.redirect(users.create_logout_url("/"))
       
application = webapp.WSGIApplication([('/logout', MainPage)],debug=True)
  
def main():
    run_wsgi_app(application)
if __name__ == "__main__":
    main()
